package com.design.principle.simpleResponsibility.simple;

/**
 * @program: designPattern
 * @description:
 * @author: STU756
 * @create: 2021-01-19 00:16
 */
public class Course {
    public void study(String courseName) {
        if("直播课".equals(courseName)) {
            System.out.println("不能快进。");
        }else{
            System.out.println("可以任意的来回播放！");
        }
    }
}
